package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenDungoudanaoDao;
import com.ruoyi.project.men.domain.MenDungoudanaoDO;
import com.ruoyi.project.men.service.MenDungoudanaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenDungoudanaoServiceImpl implements MenDungoudanaoService {
	@Autowired
	private MenDungoudanaoDao menDungoudanaoDao;
	
	@Override
	public MenDungoudanaoDO get(String id){
		return menDungoudanaoDao.get(id);
	}
	
	@Override
	public List<MenDungoudanaoDO> list(Map<String, Object> map){
		return menDungoudanaoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menDungoudanaoDao.count(map);
	}
	
	@Override
	public int save(MenDungoudanaoDO menDungoudanao){
		return menDungoudanaoDao.save(menDungoudanao);
	}
	
	@Override
	public int update(MenDungoudanaoDO menDungoudanao){
		return menDungoudanaoDao.update(menDungoudanao);
	}
	
	@Override
	public int remove(String id){
		return menDungoudanaoDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menDungoudanaoDao.batchRemove(ids);
	}

    @Override
    public List<MenDungoudanaoDO> likeList(Map<String, Object> map){
        return menDungoudanaoDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menDungoudanaoDao.likeListCount(map);
    }

    @Override
    public List<Map<String, Object>> getBrainImg() {

		return menDungoudanaoDao.getBrainImg();
    }

}
